#!/usr/bin/perl

open FILE, "flickr_most_popular_tags";
while (<FILE>) {
    chomp;
    $url = "http://images.google.com.hk/images?hl=en&q=$_&sout=1"; 
    system("wget -U \"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\" \"$url\" -O google_result_pages/$_");
}
